package PAT;

import java.util.Arrays;
import java.util.Scanner;

public class PAT1023 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        long l = scanner.nextLong();
        String s = String.valueOf(l);
        String s2 = String.valueOf(l*2);
        char[] chars = s.toCharArray();
        char[] chars2 = s2.toCharArray();
        Arrays.sort(chars);
        Arrays.sort(chars2);
        if(String.valueOf(chars).equals(String.valueOf(chars2))){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        System.out.print(s2);
    }
}
